package com.example.cheeseerpadmin.sys.vo;

import com.example.cheeseerpadmin.sys.entity.SysNotice;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
public class NoticeVo extends SysNotice {
    private static final long serialVersionUID = 1L;

    public Integer page;
    public Integer limit;

    public Integer[] ids;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    public Date startDate;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    public Date endDate;

}
